//@define Ext.calendar.data.EventMappings
/**
 * @class Ext.calendar.data.EventMappings
 * @extends Object
 * A simple object that provides the field definitions for Event records so that they can be easily overridden.
 */

Ext.define('Form.model.reminder.EventMappings', {
	extend: 'Ext.data.Model', 
	fields: [{
	    EventId: {
	        name: 'EventId',
	        mapping: 'id',
	        type: 'string'
	    },
	    CalendarId: {
	        name: 'CalendarId',
	        mapping: 'cid',
	        type: 'int'
	    },
	    Title: {
	        name: 'Title',
	        mapping: 'title',
	        type: 'string'
	    },
	    StartDate: {
	        name: 'StartDate',
	        mapping: 'start',
	        type: 'date',
	        dateFormat: 'c'
	    },
	    EndDate: {
	        name: 'EndDate',
	        mapping: 'end',
	        type: 'date',
	        dateFormat: 'c'
	    },
	    Location: {
	        name: 'Location',
	        mapping: 'loc',
	        type: 'string'
	    },
	    Notes: {
	        name: 'Notes',
	        mapping: 'notes',
	        type: 'string'
	    },
	    Url: {
	        name: 'Url',
	        mapping: 'url',
	        type: 'string'
	    },
	    IsAllDay: {
	        name: 'IsAllDay',
	        mapping: 'ad',
	        type: 'boolean'
	    },
	    Reminder: {
	        name: 'Reminder',
	        mapping: 'rem',
	        type: 'string'
	    },
	    IsNew: {
	        name: 'IsNew',
	        mapping: 'n',
	        type: 'boolean'
	    },
	    TheQuery: {
	        name: 'TheQuery',
	        mapping: 'dquery',
	        type: 'string'
	    }
	}]
});

